package com.qj.yantaishan.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.domain.ProductSku;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品对象 shanglala_product
 *
 * @author qiyue
 * @date 2022-11-11
 */
@Data
@TableName("shanglala_product")
public class ShanglalaProductVo {
    public ShanglalaProductVo(String name, BigDecimal price, BigDecimal weight, String image, String intro, String info, String recommendTitle) {
        this.name = name;
        this.price = price;
        this.weight = weight;
        this.image = image;
        this.intro = intro;
        this.info = info;
        this.recommendTitle = recommendTitle;
    }

    /**
     * 商品名称
     * */
    private String name;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 产品重量，单位：克
     */
    private BigDecimal weight;

    /**
     * 商品主图
     */
    private String image;

    /**
     * 商品简介
     */
    private String intro;

    /**
     * 商品描述
     */
    private String info;
    /**
     * 推荐语
     */
    private String recommendTitle;
    /**
     * 商品数量
     */
    private Integer quantity;
    /**
     * 商品视频封面
     */
    private String videoCover;
    /**
     * 白酒计量
     */
    private BigDecimal metering;

    private Integer productId;

    private String pcDesc;

    @TableField(exist = false)
    List<ProductSku> productSkuList;
}
